package com.example.administrator.yuejian23.Activity;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;

import com.example.administrator.yuejian23.R;

public class EnterActivity extends Activity {
    private ImageView join_back;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_train_enter);
        init();
        event();
    }

    private void event() {
        join_back.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent i=new Intent(EnterActivity.this,TrainDetailActivity.class);
                startActivity(i);
            }
        });
    }

    private void init() {
        join_back=(ImageView)findViewById(R.id.train_join_back);
    }
}
